import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
//适配方案
import "@/utils/postcssrc";
//全局公共样式
import "@/style/public.scss";
import Vant from "vant";
import "vant/lib/index.css";
import "./permission";
import Viewer from "v-viewer";
import "viewerjs/dist/viewer.css";
import "./rem";

import { clickAudio } from "@/utils/methods";

Vue.prototype.clickAudio = clickAudio;
Vue.use(Viewer);
Viewer.setDefaults({
  Options: {
    "inline": true,
    "button": true,
    "navbar": true,
    "title": false,
    "toolbar": true,
    "tooltip": true,
    "movable": true,
    "zoomable": true,
    "rotatable": true,
    "scalable": true,
    "transition": true,
    "fullscreen": true,
    "keyboard": true,
    "url": "data-source"
  }
});
import axios from "axios";

Vue.prototype.$axios = axios;
Vue.use(Vant);
Vue.config.productionTip = false;
// 视频播放
// import VideoPlayer from "vue-video-player";

// require("video.js/dist/video-js.css");
// require("vue-video-player/src/custom-theme.css");
// Vue.use(VideoPlayer);
import VueWechatTitle from "vue-wechat-title";

Vue.use(VueWechatTitle);
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount("#app");
